package cn.felord.spring.security.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author tianyingke
 * @desc
 * @date 2021-05-06 09:44:45
 */
@RestController
@RequestMapping("/user")
public class WebController {

    @GetMapping("/hello")
    public String hello(){
        return "hello";
    }

    @GetMapping("/logout")
    public  String  fail(){
        return "logout";
    }
}
